﻿.itemplayerpage .content {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    position: relative;
    z-index: 0;
}

    .itemplayerpage .content article {
        /* Define a multi-column, horizontally scrolling article by default. */
        column-fill: auto;
        column-gap: 80px;
        column-width: 480px;
        width: 480px;
        height: calc(100% - 183px);
        margin-left: 120px;
        margin-top: 133px;
    }

        .itemplayerpage .content article header .item-title {
            margin-bottom: 10px;
        }

        .itemplayerpage .content article header .item-date, .itemplayerpage .content article header .item-author, .itemplayerpage .content article header .item-tags {
            font-size: 10pt;
        }

.itemplayerpage #mediaPlayer {
    width: 460px;
    margin-top: 16px;
}

.itemplayerpage #topAppBar h1 {
    display: inline;
    vertical-align: -15px;
}

.itemplayerpage #aboutButton .win-commandimage {
    font-size: 17pt;
    font-weight: 900;
}

.itemplayerpage #aboutFlyout {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.65);
    border-width: 0;
}

    .itemplayerpage #aboutFlyout .item-title {
        margin-bottom: 10px;
    }

    .itemplayerpage #aboutFlyout .item-date, .itemplayerpage #aboutFlyout .item-author, .itemplayerpage #aboutFlyout .item-tags {
        font-size: 10pt;
    }

@media screen and (-ms-view-state: snapped) {
    .itemplayerpage .content {
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        overflow-x: hidden;
        overflow-y: auto;
    }

        .itemplayerpage .content article {
            /* Define a single column, vertically scrolling article in snapped mode. */
            -ms-grid-columns: 300px 1fr;
            -ms-grid-row: 2;
            -ms-grid-rows: auto 60px;
            display: -ms-grid;
            width: 300px;
            height: 100%;
            margin-left: 20px;
            margin-top: 6px;
        }

    .itemplayerpage #mediaPlayer {
        width: 280px;
    }

    .itemplayerpage #topAppBar, .itemplayerpage #bottomAppBar, .itemplayerpage #aboutFlyout {
        display: none;
    }
}

@media screen and (-ms-view-state: fullscreen-portrait) {
    .itemplayerpage .content article {
        margin-left: 100px;
    }
}